//
//  MLNavigationController.h
//  MultiLayerNavigation
//
//  Created by Feather Chan on 13-4-12.
//  Copyright (c) 2013年 Feather Chan. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface MLNavigationController : UINavigationController<UIGestureRecognizerDelegate>
{
//    BOOL firstTouch;
    UIView *blackgroundView;
}
// Enable the drag to back interaction, Defalt is YES.
@property (strong,nonatomic)UIPanGestureRecognizer *recognizer;
@property (nonatomic,assign) BOOL canDragBack;
@property BOOL navigationInDztabbar;
@property BOOL navigationInEdite;
@property BOOL isLeftDrag;
@property BOOL navigationInConverSation;

@property(strong,nonatomic) UIColor * navigationInheritanceTintColor ;  //同一个导航体系下的颜色(弃用，采用parentcontroller的setUniteNavbarColor:函数)


-(void)popScaleTransitionAnimated;

/*
  上下动画
 */
- (void)removePusherWhenPushViewController:
(UIViewController *)viewController direction:(BOOL)fromtop;

/*
 push动画
 */
- (void)removePusherWhenPushViewController:
(UIViewController *)viewController
                                  Animated:(BOOL)animated;

-(void)addNavPanGesture;
-(void)removeNavPanGesture;

- (void)paningGestureReceive:(UIPanGestureRecognizer *)recoginzer;

//-(void)test:(UIPanGestureRecognizer *)recoginzer;

- (void)setBlackGroundViewAction:(BOOL)isShow;
- (void)getDetailScrollGestureAction:(UIPanGestureRecognizer *)gesture startPoint:(CGPoint)aPoint;
/*
 替换视频截图
 */
-(void)replaceCaptureImage:(UIImage *)image index:(NSInteger)index;


@end
